Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to symfony7 #5951

Merged
merged 22 commits into from
Apr 18, 2024
Merged

Update to symfony7 #5951

merged 22 commits into from
Apr 18, 2024

Conversation

drush fi not working
@@ -58,15 +58,15 @@ public function getOption(string $name): mixed
return false;
}

protected function setTokens(array $tokens)
protected function setTokens(array $tokens): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path to this file still says v6. Maybe this should be in a v7 folder for clarity.

@@ -206,6 +206,8 @@ public function loadSymfonyCompatabilityAutoloader(): ClassLoader
4 => 'v4', // Drupal 9
5 => 'v4', // Early Drupal 10 (Symfony 5 works with Symfony 4 classes, so we don't keep an extra copy)
6 => 'v6', // Drupal 10
// @TODO Revisit if needed.
7 => 'v6', // Drupal 11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should point to v7, interface is different for v6 vs v7. Could probably remove this mechanism if Drush only supported one major version of Drupal at a time, but it seems useful to support multiple versions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do this as follow-up work if you want to merge like this to get Symfony 7 into 13.x-dev

@weitzman
Copy link
Member

Almost there. Robo tag is imminent. This will be green once we get wodby/php#194

@greg-1-anderson
Copy link
Member

greg-1-anderson commented Apr 17, 2024

@weitzman: Can we merge with disabled (or failing) sqlite tests, and follow up after wodby/php#194 (or Alpine 3.20) is available?

@weitzman weitzman merged commit 5add16e into drush-ops:13.x Apr 18, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for symfony 7 in 13.x and minimum version of PHP 8.3
3 participants